package com.example.springbootmybatis.service;

import com.example.springbootmybatis.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    List<User> getAllUsers();

    User selectUserById(Integer id);

    List<User> getAllUsersByCond(Map<String,Object> map);

    int insertUser(User user);

    List<User> selectUserListBytDynamic(User user);
    
    int updateByDynamic(User user);

    List<User> getUserOrderList();
}
